import { stringify } from 'qs';
import request from '@/utils/request';

export async function geeTest(params = {}) {
  return request(`${API_PREFIX}/service/geeTest?${stringify(params)}`);
}

export async function signin(body = {}) {
  return request(`${API_PREFIX}/signin`, {
    method: 'POST',
    body,
  });
}

export async function captcha(mobile = 0) {
  return request(`${API_PREFIX}/captcha?mobile=${mobile}`);
}